package com.dearbinge.data.pojo.commodity.vo;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 商品评论DO
 *
 * @author wes
 * @date 2019/3/20
 */
public class CommodityCommentResponseVO implements Serializable {

    @ApiModelProperty("商品评论ID")
    private Integer commodityCommentId;

    @ApiModelProperty("商品ID")
    private Integer commodityId;

    @ApiModelProperty("订单ID")
    private Integer orderId;

    @ApiModelProperty("买家ID")
    private Integer customerId;

    @ApiModelProperty("买家名字")
    private String customerName;

    @ApiModelProperty("买家头像")
    private String headImg;

    @ApiModelProperty("商品规格描述")
    private String commoditySpec;

    @ApiModelProperty("规格id")
    private Integer specId;

    @ApiModelProperty("评论内容")
    private String commentContent;

    @ApiModelProperty("评论时间(创建时间)")
    private Date createTime;

    @ApiModelProperty("回复内容")
    private String replyContent;

    @ApiModelProperty("回复时间")
    private Date replyTime;

    @ApiModelProperty("追加评论内容")
    private String appendCommentContent;

    @ApiModelProperty("追加评论时间")
    private Date appendCommentTime;

    @ApiModelProperty("追加回复内容")
    private String appendReplyContent;

    @ApiModelProperty("追加回复时间")
    private Date appendReplyTime;

    @ApiModelProperty("好评：1 中评：2 差评：3")
    private Integer commentLevel;

    @ApiModelProperty("追加评论天数")
    private Integer appendCommentDay;

    @ApiModelProperty("商品参数")
    private CommoditySimpleParamVO commoditySimpleParamVO;

    @ApiModelProperty(value = "评论图片")
    private List<CommodityCommentPicResponseVO> commentImages;

    @ApiModelProperty(value = "追评图片")
    private List<CommodityCommentPicResponseVO> appendCommentImages;


    public List<CommodityCommentPicResponseVO> getCommentImages() {
        return commentImages;
    }

    public void setCommentImages(List<CommodityCommentPicResponseVO> commentImages) {
        this.commentImages = commentImages;
    }

    public Integer getCommodityCommentId() {
        return commodityCommentId;
    }

    public void setCommodityCommentId(Integer commodityCommentId) {
        this.commodityCommentId = commodityCommentId;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getCommoditySpec() {
        return commoditySpec;
    }

    public void setCommoditySpec(String commoditySpec) {
        this.commoditySpec = commoditySpec == null ? null : commoditySpec.trim();
    }

    public Integer getSpecId() {
        return specId;
    }

    public void setSpecId(Integer specId) {
        this.specId = specId;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent == null ? null : commentContent.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent == null ? null : replyContent.trim();
    }

    public Date getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }

    public String getAppendCommentContent() {
        return appendCommentContent;
    }

    public void setAppendCommentContent(String appendCommentContent) {
        this.appendCommentContent = appendCommentContent == null ? null : appendCommentContent.trim();
    }

    public Date getAppendCommentTime() {
        return appendCommentTime;
    }

    public void setAppendCommentTime(Date appendCommentTime) {
        this.appendCommentTime = appendCommentTime;
    }

    public String getAppendReplyContent() {
        return appendReplyContent;
    }

    public void setAppendReplyContent(String appendReplyContent) {
        this.appendReplyContent = appendReplyContent == null ? null : appendReplyContent.trim();
    }

    public Date getAppendReplyTime() {
        return appendReplyTime;
    }

    public void setAppendReplyTime(Date appendReplyTime) {
        this.appendReplyTime = appendReplyTime;
    }

    public Integer getCommentLevel() {
        return commentLevel;
    }

    public void setCommentLevel(Integer commentLevel) {
        this.commentLevel = commentLevel;
    }

    public Integer getAppendCommentDay() {
        return appendCommentDay;
    }

    public void setAppendCommentDay(Integer appendCommentDay) {
        this.appendCommentDay = appendCommentDay;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public List<CommodityCommentPicResponseVO> getAppendCommentImages() {
        return appendCommentImages;
    }

    public void setAppendCommentImages(List<CommodityCommentPicResponseVO> appendCommentImages) {
        this.appendCommentImages = appendCommentImages;
    }

    public CommoditySimpleParamVO getCommoditySimpleParamVO() {
        return commoditySimpleParamVO;
    }

    public void setCommoditySimpleParamVO(CommoditySimpleParamVO commoditySimpleParamVO) {
        this.commoditySimpleParamVO = commoditySimpleParamVO;
    }

    @Override
    public String toString() {
        return "CommodityCommentResponseVO{" +
                "commodityCommentId=" + commodityCommentId +
                ", commodityId=" + commodityId +
                ", orderId=" + orderId +
                ", customerId=" + customerId +
                ", customerName='" + customerName + '\'' +
                ", headImg='" + headImg + '\'' +
                ", commoditySpec='" + commoditySpec + '\'' +
                ", specId=" + specId +
                ", commentContent='" + commentContent + '\'' +
                ", createTime=" + createTime +
                ", replyContent='" + replyContent + '\'' +
                ", replyTime=" + replyTime +
                ", appendCommentContent='" + appendCommentContent + '\'' +
                ", appendCommentTime=" + appendCommentTime +
                ", appendReplyContent='" + appendReplyContent + '\'' +
                ", appendReplyTime=" + appendReplyTime +
                ", commentLevel=" + commentLevel +
                ", appendCommentDay=" + appendCommentDay +
                ", commoditySimpleParamVO=" + commoditySimpleParamVO +
                ", commentImages=" + commentImages +
                ", appendCommentImages=" + appendCommentImages +
                '}';
    }
}